|
|
|
|
|
9
Visual Basic and the Microsoft Jet Engine |
|
|
|
| |
 |
|
|
|
|
What Is the Microsoft Jet Database Engine? |
|
|
|
| |
 |
|
|
|
|
Advantages of Microsoft Jet over the Data Control Object |
|
|
|
| |
 |
|
|
|
|
Microsoft Jet Data Objects |
|
|
|
| |
 |
|
|
|
|
The DBEngine Data Object |
|
|
|
| |
 |
|
|
|
|
The Workspace Data Object |
|
|
|
| |
 |
|
|
|
|
The Database Data Object |
|
|
|
| |
 |
|
|
|
|
The TableDef Data Object |
|
|
|
| |
 |
|
|
|
|
The Field Data Object |
|
|
|
| |
 |
|
|
|
|
The Index Data Object |
|
|
|
| |
 |
|
|
|
|
The QueryDef Data Object |
|
|
|
| |
 |
|
|
|
|
The ODBCDirect Connection Data Object |
|
|
|
| |
 |
|
|
|
|
The Recordset Data Object |
|
|
|
| |
 |
|
|
|
|
The Relation Data Object |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quiz |
|
|
|
| |
 |
|
|
|
|
Exercise |
|
|
|
| |
|
|
|
|
|
10
Creating Database Programs with Visual Basic Code |
|
|
|
| |
 |
|
|
|
|
Why Use Code Instead of the Data Control? |
|
|
|
| |
 |
|
|
|
|
Searching for a Record |
|
|
|
| |
 |
|
|
|
|
Using Move to Navigate Recordsets |
|
|
|
| |
 |
|
|
|
|
Using Seek on Table Recordsets |
|
|
|
| |
 |
|
|
|
|
Using Find on Non-Table Recordsets |
|
|
|
| |
 |
|
|
|
|
Creating Your Own Bound Controls |
|
|
|
| |
 |
|
|
|
|
Preparing the Data Entry Form |
|
|
|
| |
 |
|
|
|
|
Coding the Property Handling Routines |
|
|
|
| |
 |
|
|
|
|
The RSOpen Routine |
|
|
|
| |
 |
|
|
|
|
The RSInit Routine |
|
|
|
| |
 |
|
|
|
|
The RSLocate Routine |
|
|
|
| |
 |
|
|
|
|
The RSRead Routine |
|
|
|
| |
 |
|
|
|
|
The RSWrite Routine |
|
|
|
| |
 |
|
|
|
|
The RSEnable Routine |
|
|
|
| |
 |
|
|
|
|
The RSDelete Routine |
|
|
|
| |
 |
|
|
|
|
Other Record Routines |
|
|
|
| |
 |
|
|
|
|
Creating Your Own Button Bar Routines |
|
|
|
| |
 |
|
|
|
|
The BBInit Routine |
|
|
|
| |
 |
|
|
|
|
The BBEnable Routine |
|
|
|
| |
 |
|
|
|
|
The BBProcess Routine |
|
|
|
| |
 |
|
|
|
|
Creating a Data Entry Form with the Library Routines |
|
|
|
| |
 |
|
|
|
|
Modifying the Master Form |
|
|
|
| |
 |
|
|
|
|
Building the State/Province List Form |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quiz |
|
|
|
| |
 |
|
|
|
|
Exercise |
|
|
|
| |